# -*- coding:UTF-8 -*-
"""
@Project : pythonProject
@File    : Python-M01.py
@IDE     : PyCharm
@Author  : WorldWind(1772830365@qq.com)
@Address : China - HeiLongjiang - Herbin
@Date    : 2025/7/8 下午8:47
"""
# a.给定学生成绩字典 {"Alice":[85,90], "Bob":[70,65]}，输出平均分≥80的学生名单
myDict = {
    "Alice": [85, 90],
    "Bob": [70, 65]
}
for k, v in myDict.items():
    if sum(v)/len(v) >= 80:
        print(f'{k}同学,平均分为:{sum(v) / len(v)}')